# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class JobboleArticleItem(scrapy.Item):


    id = scrapy.Field()
    title = scrapy.Field()
    author = scrapy.Field()
    content = scrapy.Field()
    publish_addr = scrapy.Field()
    publish_time = scrapy.Field()
    img_path = scrapy.Field()
    tag = scrapy.Field()
    is_valid = scrapy.Field()
    crawl_time = scrapy.Field()
    bookmark_num = scrapy.Field()
    point_up_num = scrapy.Field()







class ZhihuAnwserItem(scrapy.Item):

    id = scrapy.Field()
    topics= scrapy.Field()
    url = scrapy.Field()
    title= scrapy.Field()
    content= scrapy.Field()
    create_time= scrapy.Field()
    update_time= scrapy.Field()
    answer_num= scrapy.Field()
    comment_num= scrapy.Field()
    read_user_num= scrapy.Field()
    click_num= scrapy.Field()




class ZhihuQuestionItem(scrapy.Item):

    id = scrapy.Field()
    url = scrapy.Field()
    question_id= scrapy.Field()
    author_id= scrapy.Field()
    title = scrapy.Field()
    content= scrapy.Field()
    create_time= scrapy.Field()
    update_time= scrapy.Field()
    answer_num= scrapy.Field()
    comment_num= scrapy.Field()
    read_user_num= scrapy.Field()
    click_num= scrapy.Field()


class DoubanTop250Item(scrapy.Item):
    # 序号
    serial_num = scrapy.Field()
    # 名称
    movie_name = scrapy.Field()
    #介绍
    introduce = scrapy.Field()
    # 星级
    star = scrapy.Field()
    # 描述
    describe = scrapy.Field()
    # 评论
    comment = scrapy.Field()